package com.spring.component.job.model;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author liushihua
 * @since 2018年05月08日
 */
@Configuration
@ConfigurationProperties(prefix = "component.schedule")
public class JobProperties {

  private List<BusinessJobConfig> jobs;

  public List<BusinessJobConfig> getJobs() {
    return jobs;
  }

  public void setJobs(List<BusinessJobConfig> jobs) {
    this.jobs = jobs;
  }
}
